<html>
<head>
<title>ATL 8.0 test page for object NovatroTalkerCtrl</title>

   <script id="clientEventHandlersJS" language="javascript" type="text/javascript">
		    var OKToTalk;

		    function Button1_onclick() {
		        if (OKToTalk == true) {
		            NovatroTalkerCtrl.Call("sip:onsela@novatro.local")
		        }
		        else {
		            // Install the control
		            window.location = "http://kylemar90//InstallTalker.htm";
		        }
		    }

		    function window_onload() {

		        try {
		            NovatroTalkerCtrl.Init();
		            OKToTalk = true;

		            NovatroTalkerCtrl.Register("ferrari.novatro.local", "sip:bot@novatro.local", "bot", "novatro.local", "P@ssw0rd");

		        }
		        catch (e) {
		            OKToTalk = false;
		        }
		    }

		    function window_onunload() {
		        if (OKToTalk == true) {
		            NovatroTalkerCtrl.Shutdown()
		        }
		    }

		    function Button2_onclick() {
		        if (OKToTalk == true) {
		            NovatroTalkerCtrl.TuningWizard()
		        }
		    }

		    function Button3_onclick() {
		        if (OKToTalk == true) {
		            NovatroTalkerCtrl.Hangup()
		        }
		    }

		</script>

</head>
<body onload="return window_onload()" onunload="return window_onunload()" >
   
<object id="NovatroTalkerCtrl" classid="CLSID:20BF3749-D338-46A3-9899-5611C7FC9670" CODEBASE="NovatroTalker.CAB"></object>

<P><input id="Button1" type="button" value="Talk" name="Talk" onclick="return Button1_onclick()"/></P>
<P><input id="Button3" type="button" value="Hang Up" name="Button3" onclick="return Button3_onclick()"/></P>
<P><input id="Button2" type="button" value="Tuning Wizard" name="Button2" onclick="return Button2_onclick()"/></P>
	
</body>
</html>
